body{
    background-color: #f1f1f1;
}
//头部
header {
    background-color: #ff841d;
    height: .50rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:.1rem;

    >h1 {
        a {
            width: 2rem;
        }
    }

    >a {
        width: .34rem;
    }
}
//搜索部分
.mmb_search {
    background-color: #fff;
    form {
        display: flex;
        position: relative;
        justify-content: space-between;
        padding: .05rem .1rem; 
        .fa-search{
            position: absolute;
            font-size: 0.2rem;
            top: 0.12rem;
            left: 0.2rem;
            color:#ff841d;
        }
        input {
            height: .3rem;
            border: none;
            background-color: #f1f1f1;
            border-radius: .2rem;
        }
        .search_ipt{
            padding-left: .3rem;
            flex: 1;
        }
        .search_submit{
            margin-left: .2rem;
            width: .6rem;
            background-color: #ff841d;
            color: #fff;
        }
    }
}
//导航部分
.mmb_nav{
    margin-top: 0.1rem;
    background-color: #fff;
    ul{
        display: flex;
        flex-wrap: wrap;
        li{
            width: 25%;
            padding: .1rem;
            a{
                display: flex;
                flex-direction: column;
                align-items: center;
                img{
                    width: .3rem;
                }
                p{
                    margin-top: .1rem;
                    text-align: center;
                    font-size: .12rem;
                }
            }
            &:nth-last-child(-n+4){
                display:none;
            }
        }
    }
}
//商品列表
.mmb_goods{
    background-color: #fff;
    .mmb_title{
        display:flex;
        font-size: 0.16rem;
        padding:0.05rem 0.1rem;
        justify-content: space-between;
        align-content: center;
        margin: 0.1rem 0;      
        background-color:#ff9000 ;
        color:#fff;
        a{
            width: 0.2rem;
        }
    }
    // 产品列表
    .mmb_list{
        ul{
            li{
                background-color: #fff;
                border-bottom: 1px solid #ccc;
                a{
                    display:flex;
                    padding:0.1rem;
                    img{
                        width: 0.6rem;
                        height: 0.6rem;
                        margin-right: 0.2rem;
                    }
                    >div{
                        flex:1;
                        font-size: 0.14rem;
                        >h5{
                            font-weight: normal;
                            font-size: 0.16rem;
                        }
                        >p{
                            color:red;
                            line-height:0.5rem;
                        }
                        >div{
                            font-size: 0.1rem;
                            color: #666666;
                            display:flex;
                            span:nth-child(1){
                                flex:1;
                            }
                        }
                    }
                }
            }
        }
    }
    // 更多优惠
    .goods_more{
        padding:0.1rem;
        a{
            height: 0.3rem;
            line-height: 0.3rem;
            text-align:center;
            width: 100%;

            border: 1px solid #666666;
            border-radius:0.05rem;
        }
    }
    //品牌排行
    .mmb_title{
        display:flex;
        font-size: 0.16rem;
        padding:0.05rem 0.1rem;
        justify-content: space-between;
        align-content: center;
        margin: 0.1rem 0;      
        background-color:#ff9000 ;
        color:#fff;
        a{
            width: 0.2rem;
        }
    }
    
}

    //底部
.mmb_footer{
     background-color: #fff;
    >.footer_link{
        display:flex;
        a{
        flex:1;
        text-align:center;
        border: 1px solid #CCC;
        }
    }
    p{
        margin: 0.1rem;
        font-size: 0.12rem;
        text-align: center;
        a{
        color:red;
        display:inline;
        
        }
    }

}